<!--用户协议 -->
<template>
	<div class="contact">
		<div class="agrblock" v-html="agrtxt"></div>
	</div>
</template>

<script>
	export default {
		data(){
			return {
				agrtxt:''
			}
		},
		mounted(){
			this.agrfun()
		},
		methods:{
			agrfun(){
				this.apifun.$post('/pc/User/userAgreement',{}).then((res)=>{
					// console.log(res)
					if(res.code ==  200){
						this.agrtxt = res.data.value;
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.agrblock{
		width:93%;
		padding: 10px 2%;
		margin:10px auto;
		min-height:612px;
		border-radius:10;
		background-color: #fff;
		img{
			max-width:100%;
		}
	}
</style>